import request from '@/utils/request'

export function page(query) {
  return request({
    url: '/api/admin/doorService/page',
    method: 'get',
    params: query
  })
}

export function getRectification(query) {
  return request({
    url: '/api/admin/rectificationItem/getRectification',
    method: 'get',
    params: query
  })
}

export function updateRectification(id, obj) {
  return request({
    url: '/api/admin/rectificationItem/' + id,
    method: 'put',
    data: obj
  })
}
